package com.aggregate.pay.pingan.bean;

import com.aggregate.pay.pingan.enums.CheckStatus;
import com.aggregate.pay.pingan.jackson.converter.CheckStatusDeserialize;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 合同可关联列表列表接口－响应参数－门店信息
 * @author Moyq5
 * @date 2017年7月5日
 */
public class ContractShopListResultItem {

	/**
	 * 为空或者0表示未关联，大于0表示已关联，20
	 */
	@JsonProperty("is_checked")
	private String isChecked;
	
	/**
	 * 门店编号，必填，20
	 */
	@JsonProperty("shop_no")
	private String shopNo;
	
	/**
	 * 门店简称，必填，50
	 */
	@JsonProperty("shop_name")
	private String shopName;
	
	/**
	 * 省份，必填，30
	 */
	private String province;
	
	/**
	 * 城市，必填，30
	 */
	private String city;
	
	/**
	 * 县/区，必填，30
	 */
	private String county;
	
	/**
	 * 城市编码，必填，6
	 */
	@JsonProperty("cityid")
	private String cityId;
	
	/**
	 * 详细地址，必填，150
	 */
	private String address;
	
	/**
	 * 终端数量，必填，9
	 */
	@JsonProperty("tml_count")
	private Integer terminalCount;
	
	/**
	 * 门店状态，必填，1
	 */
	@JsonDeserialize(converter = CheckStatusDeserialize.class)
	@JsonProperty("shop_status")
	private CheckStatus shopStatus;
	
	/**
	 * 若是支付宝合同，支付宝审核状态
	 */
	@JsonProperty("alipay_status")
	private String alipayStatus;
	
	/**
	 * 若是支付宝合同，支付宝审核描述
	 */
	@JsonProperty("alipay_desc")
	private String alipayDesc;
	
	/**
	 * 若是支付宝合同，支付宝上线状态
	 */
	@JsonProperty("alipay_online")
	private String alipayOnline;

	public String getIsChecked() {
		return isChecked;
	}

	public void setIsChecked(String isChecked) {
		this.isChecked = isChecked;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getTerminalCount() {
		return terminalCount;
	}

	public void setTerminalCount(Integer terminalCount) {
		this.terminalCount = terminalCount;
	}

	public CheckStatus getShopStatus() {
		return shopStatus;
	}

	public void setShopStatus(CheckStatus shopStatus) {
		this.shopStatus = shopStatus;
	}

	public String getAlipayStatus() {
		return alipayStatus;
	}

	public void setAlipayStatus(String alipayStatus) {
		this.alipayStatus = alipayStatus;
	}

	public String getAlipayDesc() {
		return alipayDesc;
	}

	public void setAlipayDesc(String alipayDesc) {
		this.alipayDesc = alipayDesc;
	}

	public String getAlipayOnline() {
		return alipayOnline;
	}

	public void setAlipayOnline(String alipayOnline) {
		this.alipayOnline = alipayOnline;
	}

	@Override
	public String toString() {
		return "ContractShopListResultItem [isChecked=" + isChecked + ", shopNo=" + shopNo + ", shopName=" + shopName
				+ ", province=" + province + ", city=" + city + ", county=" + county + ", cityId=" + cityId
				+ ", address=" + address + ", terminalCount=" + terminalCount + ", shopStatus=" + shopStatus
				+ ", alipayStatus=" + alipayStatus + ", alipayDesc=" + alipayDesc + ", alipayOnline=" + alipayOnline
				+ "]";
	}
	
}
